forum

home / developersection / forums / long press detection in andriod

Long press Detection in andriod

Anonymous User 1926 25-Apr-2015
I am currently using
onTouchEvent(MotionEvent event){
}

to detect when the user presses my glSurfaceView is there a way to detect when a long click is made. I'm guessing if I can't find much in the dev docs then it will be some sort of work around method. Something like registering ACTION_DOWN and seeing how long it is before ACTION_UP.

How do you detect long presses on android using opengl-es?

Updated on 25-Apr-2015

I am a content writter !


Message
Can you answer this question?

Answer

1 Answers

Liked By